package cn.unknowpupil.init.mapper;

import java.util.List;
import cn.unknowpupil.init.domain.LeaseLog;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Mapper;
/**
 * Created at Tue Dec 01 09:45:21 CST 2020 by  w10g <br>
 * Initialize LeaseLogMapper  ... <br>
 * {functionName}Mapper接口 数据持久层处理
 *
 * @author uunknowpupil
 * @since 0.0.1
 */
@Mapper
public interface LeaseLogMapper extends BaseMapper<LeaseLog> {


    /**
     * 查询交租日志列表
     * 
     * @param leaseLog 交租日志
     * @return 交租日志集合
     */
     List<LeaseLog> selectLeaseLogList(@Param("leaseLog") LeaseLog leaseLog);


    /**
     * 分页查询交租日志列表
     *
     * @param page<LeaseLog> page  分页参数
     * @param leaseLog {@link  LeaseLog} 交租日志
     * @return IPage<LeaseLog> 交租日志集合
     */
    IPage<LeaseLog> selectLeaseLogPages(@Param("page") IPage<LeaseLog> page, @Param("leaseLog") LeaseLog leaseLog);
}
